#ifndef GISDATAOPERATE_H
#define GISDATAOPERATE_H

#include <QObject>
#include <QtPlugin>
#include <IBundleActivator.h>
#include <QScopedPointer>
#include <QAction>

class IDataManager;
class GisDataOperate: public QObject, public IBundleActivator
{
    Q_OBJECT
    Q_INTERFACES(IBundleActivator)
    //Qt5
#if(QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
    Q_PLUGIN_METADATA(IID "GisDataOperate" GisDataOperate)
#endif

public:
    virtual void start(IBundleContext::Ptr context);
    virtual void stop(IBundleContext::Ptr context);

private slots:
    void slot_RemoveEmptyTile();

private:
    QAction * mpRemoveEmptyTile;
	IDataManager* mpDataManager;

};

#endif // GISDATAOPERATE_H
